namespace Novacode
{
	public class Bookmark
	{
		public string Name
		{
			get;
			set;
		}

		public Paragraph Paragraph
		{
			get;
			set;
		}

		public void SetText(string newText)
		{
			Paragraph.ReplaceAtBookmark(newText, Name);
		}
	}
}
